package by.exposit.dao;

import by.exposit.dao.entity.FieldEntity;
import by.exposit.dao.entity.ProjectEntity;
import by.exposit.dao.entity.UserEntity;
import by.exposit.domain.Project;

import java.util.List;

public interface ProjectDAO extends GenericDAO<ProjectEntity,Long> {


    public List<FieldEntity> getFieldsInUsersProjects(UserEntity userEntity);

	public List<ProjectEntity> projectFieldList(FieldEntity field);

	public List<ProjectEntity> projectUserList(UserEntity user);

	public List<ProjectEntity> projectUserWantToFinanceList(long userId);

	public List<ProjectEntity> priorityProjects();

    public void changeState(Project project, float state);

    public void isWantToHelp(long projectId);
}